package com.atguigu.gmall.user;

import com.atguigu.gmall.model.user.UserAddress;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @author: 李旭
 * @create: 2021-09-10 11:35
 **/
@FeignClient(name = "service-user")
public interface UserInfoFeignClient {

    //查询当前用户的收货地址集合
    @GetMapping("/api/user/passport/findUserAddressList")
    public List<UserAddress> findUserAddressList();
}
